package com.zzyl.mapper;

import com.github.pagehelper.Page;
import com.zzyl.entity.NursingProject;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;



@Mapper
public interface NursingProjectMapper {
    Page<NursingProject> selectByPage(@Param("name") String name, @Param("status") Integer status);

    void addNursingProject(NursingProject nursingProject);

    NursingProject selectNursingProjectById(Long id);

    void updateNursingProject(NursingProject nursingProject);

    void deleteNursingProject(Long id);

    void updateStatus(Integer status, Long id);
}

